Skip to content

[Bugfix] fix offline patch#864

Merged
mag1c-h merged 1 commit intoModelEngine-Group:developfrom
Infinite666:develop_wq_fix
Mar 25, 2026
Merged

[Bugfix] fix offline patch#864
mag1c-h merged 1 commit intoModelEngine-Group:developfrom
Infinite666:develop_wq_fix

Conversation

@Infinite666
Copy link
Copy Markdown
Contributor

Purpose

Fix offline patch issue.
apply_all_patches is triggered when import vllm, so if we set ENABLE_SPARSE after importing vllm, it won't patch for sparse.

Modifications

Move env setting before importing vllm in offline script.
Add more specific logs in apply_patch.py to show more informations when patching.

Test

Tested on develop env.
image

@mag1c-h mag1c-h merged commit a82a043 into ModelEngine-Group:develop Mar 25, 2026
8 checks passed
@Infinite666 Infinite666 deleted the develop_wq_fix branch March 25, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants